FROM node:16.14.2

RUN mkdir -p /home/node
WORKDIR /home/node

COPY . /home/node
run npm config set registry https://registry.npm.taobao.org
RUN npm install -g pnpm
RUN pnpm install

ENTRYPOINT ["pnpm", "run"]
CMD ["start"]
